import os


def set_hf_proxies():
    os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"
    # os.environ["TRANSFORMERS_CACHE"] = "https://huggingface.co/models"
    os.environ["HF_HOME"] = "https://hf-mirror.com"
    os.environ["HF_HUB_URL"] = "https://hf-mirror.com"
    os.environ["HTTP_PROXY"] = "http://localhost:7890"
    os.environ["HTTPS_PROXY"] = "http://localhost:7890"

